export default [
  {
    path: '/',
    name: 'container',
    component: './container',
    routes: [
      {
        path: '/',
        component: '../layouts',
      },
      {
        path: '/base-layout',
        component: '../layouts',
      },
      {
        path: '/layout',
        component: '../layouts/index',
        authority: ['admin', 'user'],
        // routes: [
        //   {
        //     path: '/',
        //     component: '../layouts/index',
        //     // authority: ['admin', 'user'],
        //     routes: [],
        //   },
        // ],
      },
      {
        path: '/login',
        component: './login/index',
      },
      {
        component: './404',
      },
    ],
  },
  {
    component: './404',
  },
  // {
  //   path: '/container',
  //   name: 'container',
  //   icon: 'smile',
  //   component: './container',
  // },
];
